<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ include file="/taglibs.jsp"%>

<s:url value="/images" var="imgPath" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<script type="text/javascript" charset="UTF-8"
	src="/js/formValidator.js" charset="UTF-8"></script>
<script type="text/javascript" charset="UTF-8"
	src="/js/formValidatorRegex.js" charset="UTF-8"></script>

<script type="text/javascript" charset="UTF-8"
	src="/js/jquery.datepick-zh-CN.js"></script>

<link rel="stylesheet" type="text/css" href="/js/timePicker.css" />
<script type="text/javascript" charset="UTF-8"
	src="/css/jquery-ui-1.7.2.custom.min.js"></script>
<link rel="stylesheet" type="text/css"
	href="/css/jquery-ui-1.7.2.custom.css" />
<link rel="stylesheet" type="text/css"
	href="/css/smoothness.datepick.css" />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>创建淘宝拦截的订单</title>
<script language="javascript">

var result = "${result}";
if ("error" == result) {
	alert('此订单编号已存在不能重复');
}
if("right" ==result){
	alert('创建完成');
	
}


</script>

</head>
<body STYLE='OVERFLOW: SCROLL;'>


	<h1>淘宝订单拦截</h1>
	<div style="color: red">
		<s:actionerror />
		<s:actionmessage />
		<s:fielderror />
	</div>




	<form name="formObj" id="formObj" action="addInterceptOrder.do"
		method="post">
		<table class="tb-data" width="100%">
		<tr>
		<td colspan="2">
		<dir class="f-link">
					
					<a href="edit.do">查询/修改</a>
					</dir>
		</td>
		</tr>
			<tr>
				<th width="20%">* 淘宝订单编号</th>
				<td><input type="text" id="tid" name="tid" size="40">
				</td>
			</tr>


			<tr>
				<th>* 拦截原因</th>
				<td><textarea rows="4" cols="60" id="memo" name="memo"></textarea>
				</td>
			</tr>


			<tr>
				<th>* 启用</th>
				<td><s:radio list="#{'1':'是','0':'否'}" name="state"
						listKey="key" listValue="value" id="state"></s:radio></td>
			</tr>

			<tr>
				<td colspan="2">
					<div class="f-link">
						<input type="submit" value="保存">
					</div>
					
				</td>
			</tr>

		</table>
	</form>



</body>

</html>